<extend name="Public/base"/>
<block name="body">




  <table class="table table-striped table-bordered table-hover" >
        <thead>
         
          
          <tr>
            <th width="50">ID</th>
            <th>用户名</th>
            <th>所属角色</th>
            <th class="hidden-480">最后登录IP</th>
            <th class="hidden-480">最后登录时间</th>
            <th class="hidden-480">E-mail</th>
            <th width="120">管理操作</th>
          </tr>
        </thead>
        <tbody>
        <foreach name="users" item="vo">
          <tr>
            <td>{$vo.uid}</td>
            <td>{$vo.name}</td>
            <td>{$vo.group}</td>
            <td class="hidden-480">{$vo.login_ip}</td>
            <td class="hidden-480">
	            {$vo.login_time|date="Y-m-d H:i:s",###}
            </td>
            <td class="hidden-480">{$vo.user_email}</td>
            <td>
	            <if condition="$vo['uid'] eq 1">
	            
	            <else />
                 <a data-toggle="tooltip" title="" class="btn btn-xs btn-info tooltip-info" href="{:U("Admin/Admin/edit",array("uid"=>$vo["uid"]))}" data-original-title="修改"><i class="icon-edit bigger-120"></i></a>
                      
                     <a data-toggle="tooltip" title="" class="ajax-del btn btn-xs btn-danger	tooltip-danger" href="{:U('Admin/Admin/delete',array('uid'=>$vo['uid']))}" data-original-title="删除"><i class="icon-trash bigger-120"></i></a>
                
                
	           
	            </if>
            </td>
          </tr>
         </foreach>
        </tbody>
      </table>
    <div class="pagination">{$Page}</div>

</block>


